/**
 * DispatcherRequestMessage.java
 * ************************** 
 * @date Apr 19, 2011
 * @author Michele Tamburini
 * 
 * **************************
 */
package infrastructureAPI.APIMessages;

import gossipServices.basic.nodeDescriptors.NodeDescriptor;
import infrastructureAPI.Requester;
import infrastructureAPI.algorithms.APIFunction;

/**
 * Description: 
 * This class is a specification of the GeneralRequestMessage.
 * It doesn't add anything to it super class. 
 * This class can be used to forward messages to the 
 * DispatcherSystem.
 *
 */
public class DispatcherRequestMessage extends GeneralRequestMessage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	
//	public DispatcherRequestMessage(NodeDescriptor sender, NodeDescriptor dest,
//			APIFunction apiFunction, Object body, Requester requester) {
//		super(sender, dest, apiFunction, body, requester);
//	}


	public DispatcherRequestMessage(NodeDescriptor sender, NodeDescriptor dest,
			APIFunction apiFunction, Requester requester) {
		super(sender, dest, apiFunction, requester);
	}


	/**
	 * @param requester 
	 * @param runNodes
	 */
	public DispatcherRequestMessage(NodeDescriptor dest, APIFunction apiFunction, Requester requester) {
//		this.apiFunction = apiFunction;
//		setApiFunction(apiFunction);
//		setRequester(requester);
		super(dest, apiFunction, requester);
	}


}
